package com.moji.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.moji.common.entity.MyPage;
import com.moji.entity.MjProductPurchasePrice;
import com.moji.entity.dto.MjProductPurchasePriceDto;
import com.moji.entity.dto.QueryProductPurchasePriceDto;
import com.moji.entity.vo.QueryVo;

/**
 * <p>
 * 产品选购价格表 服务类
 * </p>
 *
 * @author ccl
 * @since 2024-10-14
 */
public interface MjProductPurchasePriceService extends IService<MjProductPurchasePrice> {
    /** 分页查询 **/
    QueryVo queryByPage(QueryProductPurchasePriceDto dto);

    /** 删除 **/
    boolean delete(Long id);

    /** 新增 **/
    boolean add(MjProductPurchasePrice mjProductPurchasePrice);

    /** 编辑 **/
    boolean edit(MjProductPurchasePrice mjProductPurchasePrice);

    /** 详情 **/
    MjProductPurchasePrice detail(Long id);

    boolean editPriceStatus(MjProductPurchasePriceDto mjProductPurchasePrice);
}
